package com.onlinelibrary.service;

import com.onlinelibrary.pojo.Borrow;
import com.onlinelibrary.result.Result;

public interface BorrowService {
    Result createBorrow(Borrow borrow);

    Result getBorrows(Borrow borrow);

    Result getAllBorrows(Borrow borrow);

    Result getAllHisBorrows(Borrow borrow);

    Result checkOk(Borrow borrow);

    Result returnBook(Borrow borrow);

    Result getHotBooks();

}
